$(function() {
    var e = new Loading;
    e.init();
    new Alert;
    var i = new Confirm,
    r = result.roleId,
    t = result.stuorteaId,
    a = result.userName,
    s = result.paramMap;
    $(".user_userName").text("：" + a),
    $(window).resize(function() {
        $(".iframemain").height($(window).height() - 93)
    });
    var n = $.cookie("selecetRoleId");
    if ($(".out").click(function() {
        overdue(),
        i.content = "是否确认退出？",
        i.init(),
        i.success = function() {
            $.cookie("userName", null, {
                expires: -1
            }),
            $.cookie("roleId", null, {
                expires: -1
            }),
            $.cookie("stuorteaId", null, {
                expires: -1
            }),
            $.cookie("selecetRoleId", null, {
                expires: -1
            }),
            window.location.href = "beforeLogin"
        },
        i.show()
    }), 3 == n) {
        $("#ifra").attr("src", 'skipDepartMentMana?jsonStr={"pageNow":1,"pageSize":10}');
        var g = '<li value="0" class="liSeActive"><a  href="javascript:void(0)" id="departManageMent" target="main"><img src="images/pc/yxgl.png"/>机构管理</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="teaManageMent" target="main"><img src="images/pc/jsgl.png"/>教师管理</a></li><li value="1" class="liSeActive"><a  href="javascript:void(0)" id="myClass" target="main"><img src="images/pc/wdbj.png"/>班级管理</a></li>',
        c = '<li value="1" class="liSeActive"><a  href="javascript:void(0)" id="userManageMent" target="main"><img src="images/pc/wdxx.png"/>用户管理</a></li>',
        l = '<li value="1" class="liSeActive"><a  href="javascript:void(0)" id="siteManageMent" target="main"><img src="images/pc/ddgl.png"/>地点管理</a></li><li value="1" class="liSeActive"><a  href="javascript:void(0)" id="workSchedule" target="main"><img src="images/pc/pkgl.png"/>排课管理</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="scheduleManageMent" target="main"><img src="images/pc/kcgl.png"/>课程管理</a></li><li value="1" class="liSeActive"><a  href="javascript:void(0)" id="virtualMachineManageMent" target="main"><img src="images/pc/sybg.png"/>虚机管理</a></li>',
        p = '<li value="1" class="liSeActive"><a  href="javascript:void(0)" id="paraManageMent" target="main"><img src="images/pc/csgl.png"/>参数管理</a></li><li value="1" class="liSeActive"><a  href="javascript:void(0)" id="helpManageMent" target="main"><img src="images/pc/help_logo.png"/>帮助文档</a></li>',
        m = "";
        m = 3 == r ? g + l + c + p: g + l + p,
        $(".menu").append(m),
        $("#departManageMent").children("img:first").attr("src", "images/pc/yxgl2.png"),
        $("#departManageMent").css({
            background: "#ededee",
            color: "#333333"
        }),
        $("#workSchedule").click(function() {
            overdue(),
            $("#workSchedule").children("img:first").attr("src", "images/pc/pkgl2.png"),
            $("#paraManageMent").children("img:first").attr("src", "images/pc/csgl.png"),
            $("#userManageMent").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#teaManageMent").children("img:first").attr("src", "images/pc/jsgl.png"),
            $("#myClass").children("img:first").attr("src", "images/pc/wdbj.png"),
            $("#siteManageMent").children("img:first").attr("src", "images/pc/ddgl.png"),
            $("#departManageMent").children("img:first").attr("src", "images/pc/yxgl.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#virtualMachineManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#workSchedule").attr("href", "skipScheduleMana"),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#departManageMent").css({
                background: "",
                color: ""
            }),
            $(".liSeActive").eq(5).children("a:first").css({
                background: "",
                color: ""
            })
        }),
        $("#scheduleManageMent").click(function() {
            overdue(),
            $("#workSchedule").children("img:first").attr("src", "images/pc/pkgl.png"),
            $("#paraManageMent").children("img:first").attr("src", "images/pc/csgl.png"),
            $("#userManageMent").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#teaManageMent").children("img:first").attr("src", "images/pc/jsgl.png"),
            $("#myClass").children("img:first").attr("src", "images/pc/wdbj.png"),
            $("#siteManageMent").children("img:first").attr("src", "images/pc/ddgl.png"),
            $("#departManageMent").children("img:first").attr("src", "images/pc/yxgl.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl2.png"),
            $("#virtualMachineManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#scheduleManageMent").attr("href", 'skipManagerCourseTabMana?jsonStr={"pageNow":1,"pageSize":10}'),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#departManageMent").css({
                background: "",
                color: ""
            })
        }),
        $("#departManageMent").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#workSchedule").children("img:first").attr("src", "images/pc/pkgl.png"),
            $("#paraManageMent").children("img:first").attr("src", "images/pc/csgl.png"),
            $("#userManageMent").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#teaManageMent").children("img:first").attr("src", "images/pc/jsgl.png"),
            $("#myClass").children("img:first").attr("src", "images/pc/wdbj.png"),
            $("#siteManageMent").children("img:first").attr("src", "images/pc/ddgl.png"),
            $("#departManageMent").children("img:first").attr("src", "images/pc/yxgl2.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#virtualMachineManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#departManageMent").css({
                background: "",
                color: ""
            }),
            $("#departManageMent").attr("href", 'skipDepartMentMana?jsonStr={"pageNow":1,"pageSize":10}'),
            $(".liSeActive").eq(5).children("a:first").css({
                background: "",
                color: ""
            })
        }),
        $("#siteManageMent").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#workSchedule").children("img:first").attr("src", "images/pc/pkgl.png"),
            $("#paraManageMent").children("img:first").attr("src", "images/pc/csgl.png"),
            $("#userManageMent").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#teaManageMent").children("img:first").attr("src", "images/pc/jsgl.png"),
            $("#myClass").children("img:first").attr("src", "images/pc/wdbj.png"),
            $("#siteManageMent").children("img:first").attr("src", "images/pc/ddgl2.png"),
            $("#departManageMent").children("img:first").attr("src", "images/pc/yxgl.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#virtualMachineManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#departManageMent").css({
                background: "",
                color: ""
            }),
            $("#siteManageMent").attr("href", 'skipSiteMana?jsonStr={"pageNow":1,"pageSize":10}'),
            $(".liSeActive").eq(5).children("a:first").css({
                background: "",
                color: ""
            })
        }),
        $("#myClass").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#workSchedule").children("img:first").attr("src", "images/pc/pkgl.png"),
            $("#paraManageMent").children("img:first").attr("src", "images/pc/csgl.png"),
            $("#userManageMent").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#teaManageMent").children("img:first").attr("src", "images/pc/jsgl.png"),
            $("#myClass").children("img:first").attr("src", "images/pc/wdbj2.png"),
            $("#siteManageMent").children("img:first").attr("src", "images/pc/ddgl.png"),
            $("#departManageMent").children("img:first").attr("src", "images/pc/yxgl.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#virtualMachineManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#departManageMent").css({
                background: "",
                color: ""
            }),
            $("#myClass").attr("href", 'getClassList?jsonStr={"pageNow":1,"pageSize":10}'),
            $(".liSeActive").eq(5).children("a:first").css({
                background: "",
                color: ""
            })
        }),
        $("#teaManageMent").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#workSchedule").children("img:first").attr("src", "images/pc/pkgl.png"),
            $("#paraManageMent").children("img:first").attr("src", "images/pc/csgl.png"),
            $("#userManageMent").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#teaManageMent").children("img:first").attr("src", "images/pc/jsgl2.png"),
            $("#myClass").children("img:first").attr("src", "images/pc/wdbj.png"),
            $("#siteManageMent").children("img:first").attr("src", "images/pc/ddgl.png"),
            $("#departManageMent").children("img:first").attr("src", "images/pc/yxgl.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#virtualMachineManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#departManageMent").css({
                background: "",
                color: ""
            }),
            $("#teaManageMent").attr("href", 'getMemberList?jsonStr={"pageNow":1,"pageSize":10,"roleId":"' + r + '","selecetRoleId":"' + n + '","roleMark":2}'),
            $(".liSeActive").eq(5).children("a:first").css({
                background: "",
                color: ""
            })
        }),
        $("#userManageMent").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#workSchedule").children("img:first").attr("src", "images/pc/pkgl.png"),
            $("#paraManageMent").children("img:first").attr("src", "images/pc/csgl.png"),
            $("#userManageMent").children("img:first").attr("src", "images/pc/wdxx2.png"),
            $("#teaManageMent").children("img:first").attr("src", "images/pc/jsgl.png"),
            $("#myClass").children("img:first").attr("src", "images/pc/wdbj.png"),
            $("#siteManageMent").children("img:first").attr("src", "images/pc/ddgl.png"),
            $("#departManageMent").children("img:first").attr("src", "images/pc/yxgl.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#virtualMachineManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#departManageMent").css({
                background: "",
                color: ""
            }),
            $("#userManageMent").attr("href", 'getMemberList?jsonStr={"pageNow":1,"pageSize":10,"roleId":"' + r + '","selecetRoleId":"' + n + '","roleMark":3}'),
            $(".liSeActive").eq(5).children("a:first").css({
                background: "",
                color: ""
            })
        }),
        $("#paraManageMent").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#workSchedule").children("img:first").attr("src", "images/pc/pkgl.png"),
            $("#paraManageMent").children("img:first").attr("src", "images/pc/csgl2.png"),
            $("#userManageMent").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#teaManageMent").children("img:first").attr("src", "images/pc/jsgl.png"),
            $("#myClass").children("img:first").attr("src", "images/pc/wdbj.png"),
            $("#siteManageMent").children("img:first").attr("src", "images/pc/ddgl.png"),
            $("#departManageMent").children("img:first").attr("src", "images/pc/yxgl.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#virtualMachineManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#departManageMent").css({
                background: "",
                color: ""
            }),
            $(".liSeActive").eq(5).children("a:first").css({
                background: "",
                color: ""
            }),
            $("#paraManageMent").attr("href", "skipParamMana")
        }),
        $("#virtualMachineManageMent").click(function() {
            overdue(),
            e.show(),
            $("#virtualMachineManageMent").attr("loading", "0"),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#workSchedule").children("img:first").attr("src", "images/pc/pkgl.png"),
            $("#paraManageMent").children("img:first").attr("src", "images/pc/csgl.png"),
            $("#userManageMent").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#teaManageMent").children("img:first").attr("src", "images/pc/jsgl.png"),
            $("#myClass").children("img:first").attr("src", "images/pc/wdbj.png"),
            $("#siteManageMent").children("img:first").attr("src", "images/pc/ddgl.png"),
            $("#departManageMent").children("img:first").attr("src", "images/pc/yxgl.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#virtualMachineManageMent").children("img:first").attr("src", "images/pc/sybg2.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#departManageMent").css({
                background: "",
                color: ""
            }),
            $(".liSeActive").eq(5).children("a:first").css({
                background: "",
                color: ""
            }),
            $("#virtualMachineManageMent").attr("href", 'skipVirtualMachineManage?jsonStr={"pageNow":1,"pageSize":10,"forceUpdate":true}')
        }),
        $("#helpManageMent").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#workSchedule").children("img:first").attr("src", "images/pc/pkgl.png"),
            $("#paraManageMent").children("img:first").attr("src", "images/pc/csgl.png"),
            $("#userManageMent").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#teaManageMent").children("img:first").attr("src", "images/pc/jsgl.png"),
            $("#myClass").children("img:first").attr("src", "images/pc/wdbj.png"),
            $("#siteManageMent").children("img:first").attr("src", "images/pc/ddgl.png"),
            $("#departManageMent").children("img:first").attr("src", "images/pc/yxgl.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#virtualMachineManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo2.png"),
            $("#departManageMent").css({
                background: "",
                color: ""
            }),
            $(".liSeActive").eq(5).children("a:first").css({
                background: "",
                color: ""
            }),
            $("#helpManageMent").attr("href", "adminHelpAction")
        })
    }
    if (1 == n) {
        c = "";
        $("#ifra").attr("src", "skipMyCourse");
        g = '<li value="0" class="liSeActive"><a href="javascript:void(0)" id="myCourese" target="main"><img src="images/pc/wdkc.png"/>我的课程</a></li>';
        null != s && 1 == s.selectCourseMark && (c = '<li value="1" class="liSeActive"><a href="javascript:void(0)" id="applyCourse" target="main"><img src="images/pc/kcgl.png"/>选课申请</a></li>');
        m = g + c + (l = '<li  value="1" class="liSeActive"><a href="javascript:void(0)" id="findSource" target="main"><img src="images/pc/cjgl.png"/>成绩查询</a></li><li  value="1" class="liSeActive"><a href="javascript:void(0)" id="onlineStuExame" target="main"><img src="images/pc/ks.png"/>在线考试</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="onlineQuestion" target="main"><img src="images/pc/wenda.png"/>在线问答</a></li><li  value="1" class="liSeActive"><a href="javascript:void(0)" id="myInfo" target="main"><img src="images/pc/wdxx.png"/>我的信息</a></li>');
        $(".menu").append(m),
        $("#myCourese").children("img:first").attr("src", "images/pc/wdkc2.png"),
        $("#myCourese").css({
            background: "#ededee",
            color: "#333333"
        }),
        $("#myCourese").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineQuestion").children("img:first").attr("src", "images/pc/wenda.png"),
            $("#findSource").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myCourese").children("img:first").attr("src", "images/pc/wdkc2.png"),
            $("#applyCourse").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#myCourese").attr("href", "skipMyCourse")
        }),
        $("#applyCourse").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineQuestion").children("img:first").attr("src", "images/pc/wenda.png"),
            $("#findSource").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myCourese").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#applyCourse").children("img:first").attr("src", "images/pc/kcgl2.png"),
            $("#applyCourse").attr("href", "skipStuSelIntroction"),
            $("#myCourese").css({
                background: "",
                color: ""
            })
        }),
        $("#findSource").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#onlineStuExame").children("img:first").attr("src", "images/pc/ks.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineQuestion").children("img:first").attr("src", "images/pc/wenda.png"),
            $("#findSource").children("img:first").attr("src", "images/pc/cjgl2.png"),
            $("#myCourese").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#applyCourse").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#myCourese").css({
                background: "",
                color: ""
            }),
            $("#findSource").attr("href", 'getStuAllSourceList?jsonStr={"pageNow":1,"pageSize":10}')
        }),
        $("#onlineStuExame").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#findSource").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineQuestion").children("img:first").attr("src", "images/pc/wenda.png"),
            $("#onlineStuExame").children("img:first").attr("src", "images/pc/ks2.png"),
            $("#myCourese").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#applyCourse").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#myCourese").css({
                background: "",
                color: ""
            }),
            $("#onlineStuExame").attr("href", "getAllStuCourse")
        }),
        $("#onlineQuestion").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineQuestion").children("img:first").attr("src", "images/pc/wenda2.png"),
            $("#findSource").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myCourese").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#applyCourse").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#onlineStuExame").children("img:first").attr("src", "images/pc/ks.png"),
            $("#myCourese").css({
                background: "",
                color: ""
            }),
            $("#onlineQuestion").attr("href", 'getStuAllProblemList?jsonStr={"pageNow":1,"pageSize":10}')
        }),
        $("#myInfo").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx2.png"),
            $("#onlineQuestion").children("img:first").attr("src", "images/pc/wenda.png"),
            $("#findSource").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myCourese").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#applyCourse").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#onlineStuExame").children("img:first").attr("src", "images/pc/ks.png"),
            $("#myCourese").css({
                background: "",
                color: ""
            }),
            $("#myInfo").attr("href", 'getMemberDetailById?jsonStr={"pageNow":0,"pageSize":10,"stuorteaId":"' + t + '","param":3,"roleId":"' + r + '","selecetRoleId":"' + n + '"}')
        })
    }
    if (2 == n) {
        $("#ifra").attr("src", "skipMyCourse");
        m = '<li value="0" class="liSeActive"><a href="javascript:void(0)" id="myCourse" target="main"><img src="images/pc/wdkc.png"/>我的课程</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="scheduleManageMent" target="main"><img src="images/pc/kcgl.png"/>课程管理</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="courseEnd" target="main"><img src="images/pc/jieke.png"/>班级管理</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="expreManageMent" target="main"><img src="images/pc/sybg.png"/>实验管理</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="taskManageMent" target="main"><img src="images/pc/zygl.png"/>作业管理</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="sourceManageMent" target="main"><img src="images/pc/cjgl.png"/>成绩管理</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="sourceSet" target="main"><img src="images/pc/cjsz.png"/>成绩设置</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="myInfo" target="main"><img src="images/pc/wdxx.png"/>我的信息</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="questionManageMent" target="main"><img src="images/pc/tiku.png"/>题库管理</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="onlineMarkExame" target="main"><img src="images/pc/py.png"/>在线批阅</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="questionAnswering" target="main"><img src="images/pc/wenti.png"/>问题答疑</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="getNotice" target="main"><img src="images/pc/xiaoxi.png"/>消息通知</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="helpManageMent" target="main"><img src="images/pc/help_logo.png"/>帮助文档</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="fileChecking" target="main"><img src="images/pc/cjsz.png"/>文件查重</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="teachingStatistics" target="main"><img src="images/pc/wdkc.png"/>教学统计</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="curriculumSystem" target="main"><img src="images/pc/kcgl.png"/>课程体系</a></li><li value="1" class="liSeActive"><a href="javascript:void(0)" id="postSkills" target="main"><img src="images/pc/jieke.png"/>岗位技能</a></li>';
        $(".menu").append(m),
        $("#myCourse").children("img:first").attr("src", "images/pc/wdkc2.png"),
        $("#myCourse").css({
            background: "#ededee",
            color: "#333333"
        }),
        $("#myCourse").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc2.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#myCourse").attr("href", "skipMyCourse")
        }),
        $("#scheduleManageMent").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl2.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#scheduleManageMent").attr("href", "skipTeaCourseMana"),
            $("#myCourse").css({
                background: "",
                color: ""
            })
        }),
        $("#expreManageMent").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg2.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $("#expreManageMent").attr("href", 'skipTestMana?jsonStr={"pageNow":1,"pageSize":10}')
        }),
        $("#taskManageMent").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl2.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $("#taskManageMent").attr("href", 'skipHomeworkMana?jsonStr={"pageNow":1,"pageSize":10}')
        }),
        $("#courseEnd").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke2.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $("#courseEnd").attr("href", 'skipTeaEndClassList?jsonStr={"pageNow":1,"pageSize":10}')
        }),
        $("#sourceManageMent").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl2.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $("#sourceManageMent").attr("href", 'getAllSourceList?jsonStr={"pageNow":1,"pageSize":10,"classEndMark":0}')
        }),
        $("#sourceSet").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz2.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $("#sourceSet").attr("href", "getProWedith")
        }),
        $("#myInfo").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx2.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $("#myInfo").attr("href", 'getMemberDetailById?jsonStr={"pageNow":0,"pageSize":10,"stuorteaId":"' + t + '","param":2,"roleId":"' + r + '","selecetRoleId":"' + n + '"}')
        }),
        $("#questionManageMent").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku2.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $("#questionManageMent").attr("href", 'getAllQuestionList?jsonStr={"pageNow":1,"pageSize":10}')
        }),
        $("#onlineMarkExame").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py2.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $("#onlineMarkExame").attr("href", 'getAllStuExamList?jsonStr={"pageNow":1,"pageSize":10}')
        }),
        $("#questionAnswering").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti2.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $("#questionAnswering").attr("href", 'getAllProblemList?jsonStr={"pageNow":1,"pageSize":10}')
        }),
        $("#getNotice").click(function() {
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi2.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $("#getNotice").attr("href", "AddNoticeView")
        }),
        $("#helpManageMent").click(function() {
            console.log(456456),
            overdue(),
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo2.png"),
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $("#helpManageMent").attr("href", "adminHelpAction")
        }),
        $("#fileChecking").click(function() {
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $(this).parent().siblings().removeClass("liSelectActive")
            $(this).parent().addClass("liSelectActive")
            $(this).attr("href", "/SchoolMS2.0/page/html/fileChecking.html");
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $("#myCourse").children("img:first").attr("src", "images/pc/wdkc.png"),
            $("#scheduleManageMent").children("img:first").attr("src", "images/pc/kcgl.png"),
            $("#expreManageMent").children("img:first").attr("src", "images/pc/sybg.png"),
            $("#taskManageMent").children("img:first").attr("src", "images/pc/zygl.png"),
            $("#sourceManageMent").children("img:first").attr("src", "images/pc/cjgl.png"),
            $("#myInfo").children("img:first").attr("src", "images/pc/wdxx.png"),
            $("#onlineMarkExame").children("img:first").attr("src", "images/pc/py.png"),
            $("#questionManageMent").children("img:first").attr("src", "images/pc/tiku.png"),
            $("#questionAnswering").children("img:first").attr("src", "images/pc/wenti.png"),
            $("#getNotice").children("img:first").attr("src", "images/pc/xiaoxi.png"),
            $("#courseEnd").children("img:first").attr("src", "images/pc/jieke.png"),
            $("#sourceSet").children("img:first").attr("src", "images/pc/cjsz.png"),
            $("#helpManageMent").children("img:first").attr("src", "images/pc/help_logo.png"),
            $(this).children("img:first").attr("src", "images/pc/cjsz2.png");
        });
        $("#teachingStatistics").click(function() {
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $(this).parent().siblings().removeClass("liSelectActive")
            $(this).parent().addClass("liSelectActive")
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $(this).attr("href", "/SchoolMS2.0/page/html/teachingStatistics.html");
            $(this).children("img:first").attr("src", "images/pc/wdkc2.png");
        });
        
        $("#curriculumSystem").click(function() {
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $(this).parent().siblings().removeClass("liSelectActive")
            $(this).parent().addClass("liSelectActive")
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $(this).attr("href", "/SchoolMS2.0/page/html/curriculumSystem.html");
            $(this).children("img:first").attr("src", "images/pc/kcgl2.png");
        });
        $("#postSkills").click(function() {
            $("#myCourse").css({
                background: "",
                color: ""
            }),
            $(this).parent().siblings().removeClass("liSelectActive")
            $(this).parent().addClass("liSelectActive")
            $(this).parents("li").attr("value", "0"),
            $(this).parents("li").siblings("li").attr("value", "1"),
            $(this).attr("href", "/SchoolMS2.0/page/html/postSkills.html");
            $(this).children("img:first").attr("src", "images/pc/jieke2.png");
        });
        
    }
    $(".liSeActive").hover(function() {
        if ("1" == $(this).attr("value")) {
            var e = $(this).children("a:first").children("img:first").attr("src");
            e = e.replace(/\.png/, "2.png"),
            $(this).children("a:first").children("img:first").attr("src", e)
        }
    },
    function() {
        if ("1" == $(this).attr("value")) {
            var e = $(this).children("a:first").children("img:first").attr("src");
            e = e.replace(/2\.png/, ".png"),
            $(this).children("a:first").children("img:first").attr("src", e)
        }
    }),
    $(".liSeActive").click(function() {
        $(".liSeActive").parent().find("li").removeClass("liSelectActive"),
        $(".liSeActive").parent().find("li").children("a").css("color", ""),
        $(this).addClass("liSelectActive"),
        $(this).children("a").css("color", "#333333");
        $(".liSeActive").each(function(i,d){
            let oSrc = $(d).find("img").attr("src");
            oSrc = oSrc.replace(/2\.png/, ".png");
            $(d).find("img").attr("src",oSrc);
        });
        let tSrc = $(this).find("img").attr("src");
        tSrc = tSrc.replace(/\.png/, "2.png");
        console.log(tSrc);
        $(this).find("img").attr("src",tSrc);
    })
});